Repository navigation
Conversation
sayakpaul
marked this pull request as ready for review
November 23, 2026 02:26
sayakpaul
commented
Nov 23, 2026
|
|
||
| - name: Extract tests | ||
| id: extract_tests | ||
| if: matrix.module != 'lora' |
Member
Author
There was a problem hiding this comment.
So that it skips test-pattern extraction for the lora matrix entry because the next step selects those tests with pytest -m lora tests/. Simplifies things a bit.
sayakpaul
commented
Nov 23, 2026
| # https://pytorch.org/docs/stable/notes/randomness.html#avoiding-nondeterministic-algorithms | ||
| CUBLAS_WORKSPACE_CONFIG: :16:8 | ||
| run: | | ||
| pattern=$(cat ${{ steps.extract_tests.outputs.pattern_file }}) |
Member
Author
There was a problem hiding this comment.
schedulers and others can yield empty patterns. So, their -k "$pattern" will be nullified by pytest.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the following:
https://github.com/huggingface/diffusers/actions/runs/44739185113/job/136298890354 is broken because of how the tests are extracted. Some tests were also missing
is_loramarker so they were not getting collected and eventually, not tested. I used this opportunity to also fix the LoRA trigger paths in our CI.Furthermore, the LoRA tests are now a part of standard
modelsandpipelinestests. So, add their corresponding tester mixins, too. Example:LoraTesterMixin,ModularLoraTesterMixin, andLoraMemoryTesterMixin.Missing components from the matrix module: modular pipelines and hooks.